package com.qimou.iems.service;

import com.qimou.iems.entity.AdminUser;
import com.qimou.iems.entity.PageArgs;
import com.qimou.iems.entity.PageList;
import com.qimou.iems.exception.InterfaceCommonException;

import java.util.Map;

/**
 * @author Qimou Xie
 * @date 2018/4/14 16:11.
 **/
public interface IAdminUserService {

    void save(AdminUser adminUser,String roleIds);

    AdminUser login(String account,String pwd) throws InterfaceCommonException;

    void update(AdminUser adminUser);

    AdminUser getAdminUser(String account);


    PageList<AdminUser> getAdminUserList(Map<String,Object> map, PageArgs pageArgs);

}
